package top.codechap.transaction;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author CodeChap
 * @date 2021-06-23 22:12
 * @description Main
 */
public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(ConfigOfTransaction.class);
        UserService userService = applicationContext.getBean(UserService.class);
        userService.insertUser();
    }
}
